package com.ruoyi.huoyun.finance.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 应收账单对象 account_receivable
 * 
 * @author mj
 * @date 2021-11-29
 */
public class AccountReceivable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 应付凭证号 */
    private String voucherPayableNo;

    /** 状态（0未确定 1已确定 2已接单 3已提货 4已到货 5已签收 6已结算） */
    @Excel(name = "状态", readConverterExp = "0=未确定,1=已确定,2=已接单,3=已提货,4=已到货,5=已签收,6=已结算")
    private String status;

    /** 运单号 */
    @Excel(name = "运单号")
    private String waybillNumber;

    /** 货主姓名 */
    @Excel(name = "货主姓名")
    private String consignorName;

    /** 货主电话 */
    @Excel(name = "货主电话")
    private String consignorTelephone;

    /** 应付金额 */
    @Excel(name = "应付金额")
    private BigDecimal amountPayable;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private BigDecimal actualPayable;

    public void setVoucherPayableNo(String voucherPayableNo) 
    {
        this.voucherPayableNo = voucherPayableNo;
    }

    public String getVoucherPayableNo() 
    {
        return voucherPayableNo;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setWaybillNumber(String waybillNumber)
    {
        this.waybillNumber = waybillNumber;
    }

    public String getWaybillNumber()
    {
        return waybillNumber;
    }
    public void setConsignorName(String consignorName) 
    {
        this.consignorName = consignorName;
    }

    public String getConsignorName() 
    {
        return consignorName;
    }
    public void setConsignorTelephone(String consignorTelephone) 
    {
        this.consignorTelephone = consignorTelephone;
    }

    public String getConsignorTelephone() 
    {
        return consignorTelephone;
    }
    public void setAmountPayable(BigDecimal amountPayable) 
    {
        this.amountPayable = amountPayable;
    }

    public BigDecimal getAmountPayable() 
    {
        return amountPayable;
    }
    public void setActualPayable(BigDecimal actualPayable) 
    {
        this.actualPayable = actualPayable;
    }

    public BigDecimal getActualPayable() 
    {
        return actualPayable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("voucherPayableNo", getVoucherPayableNo())
            .append("status", getStatus())
            .append("waybillNumber", getWaybillNumber())
            .append("consignorName", getConsignorName())
            .append("consignorTelephone", getConsignorTelephone())
            .append("amountPayable", getAmountPayable())
            .append("actualPayable", getActualPayable())
            .toString();
    }
}
